<!doctype html>
<html ng-app="app">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../build/common/base.css" rel="stylesheet">
<script type="text/javascript" src="../../build/common/base.js"></script>
<script type="text/javascript" src="../../build/common/ngEdit.js"></script>
<script type="text/javascript" src="../../build/common/uedtor.js"></script>
<script type="text/javascript">
	var app = angular.module('app', [ 'baseDirective' ]);
	app.controller("ctrl", [ '$scope', 'baseService',
			function($scope, baseService) {

			} ]);

	/* 获取URL表单的 JSON 数据  必须以 getData为方法名*/
	function getData() {
		return AngularUtil.getScope().data;
	}
</script>
</head>
<body class="panel success" ng-controller="ctrl">
	<!-- 顶部按钮 -->
	<div class="panel-heading">
		<a href="javascript:void(0)"
			class="btn btn-sm btn-primary fa-reply"
			onclick="javascript:$.Dialog.close(window);"> 返回 </a>
	</div>
	<!--  ab-load 去controller 层获取业务数据  -->
	<form name="form" method="post" ab-load="crm/notice/get?id={id}"
		ng-model="data">


		<table class="form-table">
			<tbody>
				<tr class="firstRow">
					<th>标题</th>
					<td>
						{{data.title}}
					</td>
				</tr>
				<tr>								
					<th>发布时间</th>
					<td>
						{{data.releaseTime}}
					</td>								
				</tr>
				<tr>
					<th>附件</th>
					<td><a href="javascript:void(0)"
						  ab-upload=""
						ng-model="data.attachment"
						></a>
						</td>
				</tr>
				<tr>
					<th>内容</th>
					<td >
						<span ab-bind-html="data.content">
						
						</span>
					</td>
				</tr>
				
				
			</tbody>
		</table>
	</form>

</body>















</html>